package com.example.springboot_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.springboot_system.pojo.Patient;
import com.example.springboot_system.pojo.User;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PatientMapper extends BaseMapper<Patient> {

    Patient findByCardId(String cardID);



    Integer save(Patient patient);

    Patient findById(String patientId);

    Integer updatePatientInfo(Patient patientInfo);


    Patient findByIdCard(String IDcard);





    List<Patient> getAllOutpatientQueue(String doctorId);
}
